<!DOCTYPE HTML>
<html>
<meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
  <meta charset="UTF-8">
  <meta name="description" content="{$pagedescription}">
  <meta name="keywords" content="{$pagekeywords}">
  <meta property="qc:admins" content="06352120567330161657011363757" />
  <title>{$pageTitle}</title>
  <link rel="shortcut icon" href="favicon.ico">
 

  

<if condition="(ACTION_NAME eq 'proDetail')">

  <link href="__CSS__/style.css" media="screen" rel="stylesheet" type="text/css">
  <link href="__CSS__/grid.css" media="screen" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="__CSS__/jquery.jqzoom.css" type="text/css">
  <script src="__JS__/jquery-1.7.2.min.js" ></script>
  <script src="__JS__/html5.js" ></script>
  <script src="__JS__/jflow.plus.js" ></script>
  <script src="__JS__/jquery.carouFredSel-5.2.2-packed.js"></script>
  <script src="__JS__/checkbox.js"></script>
  <script src="__JS__/radio.js"></script>
  <script src="__JS__/selectBox.js"></script>
  <script src="__JS__/jquery.jqzoom-core.js" ></script>
  <script>
	$(document).ready(function() {
		$('.jqzoom').jqzoom({
			zoomType: 'standard',
			lens:true,
			preloadImages: true,
			alwaysOn:false
		});
	});
  </script>

  <script>
	$(document).ready(function() {
		$("select").selectBox();
	});
  </script>

  <script>
	$(document).ready(function() {
		$('#wrapper_tab a').click(function() {
			if ($(this).attr('class') != $('#wrapper_tab').attr('class') ) {
				$('#wrapper_tab').attr('class',$(this).attr('class'));
			}
			return false;
		});
	});
  </script>

  <script>
	$(function() {
	  $('#list_product').carouFredSel({
		prev: '#prev_c1',
		next: '#next_c1',
		auto: false
	  });
          $('#list_banners').carouFredSel({
		prev: '#ban_prev',
		next: '#ban_next',
		scroll: 1,
		auto: false
	  });
	  $('#thumblist').carouFredSel({
		prev: '#img_prev',
		next: '#img_next',
		scroll: 1,
		auto: false,
		circular: false,
	  });
	  $(window).resize();
	});
  </script>
  <script>
       $(document).ready(function(){
	      $("button").click(function(){
		     $(this).addClass('click')
	      });
       })
  </script>
<else/>
   <link href="__CSS__/style.css" media="screen" rel="stylesheet" type="text/css">
  <link href="__CSS__/grid.css" media="screen" rel="stylesheet" type="text/css">
  <link href="__CSS__/jquery.jqzoom.css" media="screen" rel="stylesheet" type="text/css">
  <script src="__JS__/jquery-1.7.2.min.js" ></script>
  <script src="__JS__/html5.js" ></script>
  <script src="__JS__/jflow.plus.js" ></script>
  <script src="__JS__/jquery.carouFredSel-5.2.2-packed.js"></script>


  <script>
	$(document).ready(function(){
	    $("#myController").jFlow({
			controller: ".control", // must be class, use . sign
			slideWrapper : "#jFlowSlider", // must be id, use # sign
			slides: "#slider",  // the div where all your sliding divs are nested in
			selectedWrapper: "jFlowSelected",  // just pure text, no sign
			width: "984px",  // this is the width for the content-slider
			height: "480px",  // this is the height for the content-slider
			duration: 400,  // time in miliseconds to transition one slide
			prev: ".slidprev", // must be class, use . sign
			next: ".slidnext", // must be class, use . sign
			auto: true
    });
  });
  </script>
  <script>
	$(function() {
	  $('#list_product').carouFredSel({
		prev: '#prev_c1',
		next: '#next_c1',
		auto: false
	  });
          $('#list_product2').carouFredSel({
		prev: '#prev_c2',
		next: '#next_c2',
		auto: false
	  });
	  $(window).resize();
	});
  </script>
  <script>
       $(document).ready(function(){
	      $("button").click(function(){
		     $(this).addClass('click')
	      });
       })
  </script>
</if>
</head>
<body>
  <div class="container_12">
    <div id="top">
    
    </div><!-- #top -->
    <div class="clear"></div>

    <header id="branding">
      <div class="grid_3">
        <hgroup>
          <h1 id="site_logo" ><a href="{:U('Index/index')}" title=""><img src="__IMG__/logo.png" alt="Online Store Theme Logo"/></a></h1>
          <h2 id="site_description">购物商城</h2>
        </hgroup>
      </div><!-- .grid_3 -->

      <div class="grid_3">
        <form class="search">
          <input type="text" name="search" class="entry_form" value="" placeholder="Search entire store here..."/>
	</form>
      </div><!-- .grid_3 -->

      <div class="grid_6">
        <ul id="cart_nav">
          <li>
            <a class="cart_li" href="#">购物车 <span>￥0.00</span></a>
            <ul class="cart_cont">
              <li class="no_border"><p>Recently added item(s)</p></li>
              <li>
                <a href="product_page.html" class="prev_cart"><div class="cart_vert"><img src="__IMG__/cart_img.png" alt="" title="" /></div></a>
                <div class="cont_cart">
                  <h4>Caldrea Linen and Room Spray</h4>
                  <div class="price">1 x $399.00</div>
                </div>
                <a title="close" class="close" href="#"></a>
                <div class="clear"></div>
              </li>
              
              <li>
                <a href="product_page.html" class="prev_cart"><div class="cart_vert"><img src="__IMG__/produkt_slid1.png" alt="" title="" /></div></a>
                <div class="cont_cart">
                  <h4>Caldrea Linen and Room Spray</h4>
                  <div class="price">1 x $399.00</div>
                </div>
                <a title="close" class="close" href="#"></a>
                <div class="clear"></div>
              </li>
	      <li class="no_border">
		<a href="{:U('Cart/index')}" class="view_cart">查看购物车</a>
		<a href="checkout.html" class="checkout">结账</a>
	      </li>
            </ul>
          </li>
        </ul>


        <nav class="private">
          <ul>
		<if condition="IS_LOGIN">
			<li><a href="{:U('User/index')}">用户中心</a></li>
			<li class="separator">|</li>
			<li><a href="{:U('Cart/index')}">购物车</a></li>
			<li><a href="{:U('User/loginOut')}">退出登录</a></li>
		<else/>
			<li class="separator">|</li>
			<li><a href="{:U('User/login')}">登录</a></li>
			<li class="separator">|</li>
			<li><a href="{:U('User/register')}">注册</a></li>
			<li class="separator">|</li>
		</if>
		
          </ul>
        </nav><!-- .private -->
      </div><!-- .grid_6 -->
    </header><!-- #branding -->
  </div><!-- .container_12 -->

  <div class="clear"></div>

  <div id="block_nav_primary">
    <div class="container_12">
      <div class="grid_12">
        <nav class="primary">
          <ul>
            <li class="curent"><a href="{:U('Index/index')}">首页</a></li>
            
            <foreach name="menuArray" key="menukey" item="menuValue">
            <li>
              <a href="{:U('Index/prolist',array('cateid'=>$menuValue['id']))}">{$menuValue['name']}</a>
              <ul class="sub">
                <foreach name="menuValue['subcateArray']" key="subcateKey" item="subcateValue">
                <li><a href="{:U('Index/prolist',array('cateid'=>$subcateValue['id']))}">{$subcateValue['name']}</a></li>
				</foreach>
              </ul>
            </li>
            </foreach>
          </ul>
        </nav><!-- .primary -->
      </div><!-- .grid_12 -->
    </div><!-- .container_12 -->
  </div><!-- .block_nav_primary -->

  
